doctype html
html
    head
        title= title
        meta(charset='utf-8')
        meta(name='viewport' content='width=device-width,initial-scale=1')
        link(rel='stylesheet', href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css')
        link(rel='stylesheet', href='/stylesheets/style.css')
        script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js')
        script(src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js')
    body
        div(class='container-fluid')
            div(class='row')
                div(class='col-sm-2')
                    block sidebar
                        ul(class='sidebar-nav' style='font-size:20px')
                            li
                                a(href='/catalog') 首页
                            li
                                a(href='/catalog/books') 图书种类
                            li
                                a(href='/catalog/authors') 所有作家
                            li
                                a(href='/catalog/genres') 所有分类
                            li
                                a(href='/catalog/book_instances') 所有图书
                            li
                                hr
                            li
                                a(href='/catalog/author/create') 创建新作家
                            li
                                a(href='/catalog/genre/create') 创建新分类
                            li
                                a(href='/catalog/book/create') 创建图书
                            li
                                a(href='/catalog/book_instance/create') 创建图书实例
                div(class='col-sm-10')
                    block content
